package git.soulbgm.config;

import git.soulbgm.pojo.Info;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "config", ignoreUnknownFields = false)
public class SysConfig {

    private String a1;

    private String a2;

    private String a3;

    private Integer b1;

    private Double b2;

    private List<String> c1;

    private Map<String, String> c2;

    private List<Info> d1;

}
